package com.woniuxy;

import org.springframework.boot.SpringApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableScheduling  //开启事务
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan(basePackages = "com.woniuxy.dao")
@EnableFeignClients(basePackages = "com.woniuxy.feign")//开启远程调用
@EnableSwagger2
public class Merchant_service {
    public static void main(String[] args) {
        SpringApplication.run(Merchant_service.class, args);
    }
}
